local xianxing_choose = fk.CreateSkill{
  name = "#ksp__xianxing_choose",
}

Fk:loadTranslationTable{
  ["#ksp__xianxing_choose"] = "衔星",
}

xianxing_choose:addEffect("active", {
  card_filter = function (self, player, to_select, selected)
    local suits = {}
    for _, id in ipairs(selected) do
      table.insertIfNeed(suits,Fk:getCardById(id).suit)
    end
    local suit = Fk:getCardById(to_select).suit
    return table.contains(self.extra_data.ids, to_select) and not table.contains(suits, suit)
  end,
  target_filter = Util.FalseFunc,
  min_card_num = 1,
})

return xianxing_choose
